import {AxiosPostToJson,AxiosGetToJson} from "./AxiosEncapsulation.js"

async function TwoPersonRoomBoard(jsonData) {
    const response = await AxiosGetToJson('/api/room-board', jsonData)
    return await response;
}
//更新游戏数据
async function UpdateGameData(jsonData) {
    return await AxiosPostToJson('/api/room-board', jsonData)
}


export {TwoPersonRoomBoard}